<!DOCTYPE html>
<html lang="en">
<head>
	<link rel="shortcut icon" href="#" />
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<title>includes</title>
</head>
<body>
	<div>表示某个数组是否包含指定的值，返回布尔值</div>
	<script type="text/javascript">
		let arr = [1,5,10,15]
		console.log(arr.includes(5))
		console.log([1,5,10,20,35,100,150].includes(20))
		console.log([1,5,10,20,35,100,150].includes(121))
	</script>
</body>
</html>